Skip to content

Conversation

@heliocastro
Copy link
Contributor

Use docker own emulation action to build multiarch image.

@heliocastro heliocastro self-assigned this Sep 22, 2025
@heliocastro heliocastro added the docker About Docker topics label Sep 22, 2025
@codecov
Copy link

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.51%. Comparing base (451101d) to head (2bfb7ce).

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #10882   +/-   ##
=========================================
  Coverage     57.51%   57.51%           
  Complexity     1707     1707           
=========================================
  Files           346      346           
  Lines         12855    12855           
  Branches       1215     1215           
=========================================
  Hits           7394     7394           
  Misses         4996     4996           
  Partials        465      465           
Flag Coverage Δ
funTest-no-external-tools 30.37% <ø> (ø)
test-ubuntu-24.04 42.27% <ø> (ø)
test-windows-2025 42.25% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@janniclas
Copy link

What is the current state on this? I Just stumbled across this PR when trying to get the Dockerimage to run on my Mac and this PR also fixes all previous build issues I had :)

@sschuberth
Copy link
Member

What is the current state on this?

See the "This branch has conflicts that must be resolved" hint below. We agreed in one of the recent community meetings (Which you're very welcome to join!) to pause this until #10964 is merged as we knew it to conflict.

But since that has happened now, I guess @heliocastro just needs to find the time to rebase & resolve the conflicts.

Scancode utility scancode-license-data has a flaw that inside some
environments ignores the path flag.
The dependency on distutils, deprecated since Python 3.12+ force install
of setuptools to match requirements, but not properly a substitute for
distutils.

Signed-off-by: Helio Chissini de Castro <[email protected]>
@heliocastro heliocastro force-pushed the feat/docker_multiarch branch from 30288b1 to 2bfb7ce Compare October 17, 2025 18:17
@heliocastro
Copy link
Contributor Author

@janniclas @sselbach Just rebased, but remember that i paused in favor of the new solution proposed by @sschuberth .
To finish in a good shape this one, need replace the ruby build with a binary solution, and will be acceptable to no long runs on CI anymore.

@janniclas
Copy link

I'm happy to help out if you can point me to the new solution proposed by Sebastian, so I've a starting point.

&& wget https://github.com/conan-io/conan/releases/download/$CONAN2_VERSION/conan-$CONAN2_VERSION-linux-x86_64.tgz \
&& tar -xvf conan-$CONAN2_VERSION-linux-x86_64.tgz\
setuptools=="$PYTHON_SETUPTOOLS_VERSION" \
uv="$UV_VERSION"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uv=="$UV_VERSION" there is a = missing

&& pyenv install -v $PYTHON_VERSION \
&& pyenv global $PYTHON_VERSION

RUN ARCH=$(arch | sed s/aarch64/arm64/) \
Copy link

@janniclas janniclas Oct 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To work on Mac you also need to manually install click in version 8.2.1

    && if [ "$ARCH" == "arm64" ]; then \
    pip install -U \
     click==$PYTHON_CLICK_VERSION \
     scancode-toolkit-mini==$SCANCODE_VERSION; \
    else \
    pip install -U scancode-toolkit==$SCANCODE_VERSION; \
    fi```

@janniclas janniclas mentioned this pull request Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker About Docker topics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants